find a rational number between 0 and 1